package com.ing.mytest.model;

import java.sql.Date;

public class DSlogline {
	private int id;
	private Date timestamp;
	private String severity;
	private String source;
	private String entity;
	private String entityname;
	private String state;
	private String servicetypename;
	private int sessionid;
	private int taskid;

	
	// map a row from the database log table to the java object DSlogline
	
	public DSlogline() {
		
	}
	
	public DSlogline (int id, Date timestamp, String severity,
			String source, String entity, String entityname,
			String state, String servicetypename, int sessionid,
			int taskid ) {
	
		this.setId(id);
		this.setTimestamp(timestamp);
		this.setSeverity(severity);
		this.setSource(source);
		this.setEntity(entity);
		this.setEntityname(entityname);
		this.setState(state);
		this.setServicetypename(servicetypename);
		this.setSessionid(sessionid);
		this.setTaskid(taskid);
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Date getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(Date timestamp) {
		this.timestamp = timestamp;
	}

	public String getSeverity() {
		return severity;
	}

	public void setSeverity(String severity) {
		this.severity = severity;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public String getEntity() {
		return entity;
	}

	public void setEntity(String entity) {
		this.entity = entity;
	}

	public String getEntityname() {
		return entityname;
	}

	public void setEntityname(String entityname) {
		this.entityname = entityname;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getServicetypename() {
		return servicetypename;
	}

	public void setServicetypename(String servicetypename) {
		this.servicetypename = servicetypename;
	}

	public int getSessionid() {
		return sessionid;
	}

	public void setSessionid(int sessionid) {
		this.sessionid = sessionid;
	}

	public int getTaskid() {
		return taskid;
	}

	public void setTaskid(int taskid) {
		this.taskid = taskid;
	}
}